import Vue from "vue";
import App from "./App.vue";
import { router } from "./router";
import { Cookies, setNativeObject } from "@/utils/auth";
import Vant from "vant";
// import "vant-css/lib/index.css";
import "vant/lib/vant-css/index.css";
import "./less/index.less";
// import { store } from "./store";

Vue.use(Vant);
// console.log(App);
new Vue({
  el: "#app",
  router,
  // store,
  ...App
});

if (Cookies.get("xlg-debug")) {
  const Vconsole = require("vconsole");
  window.vConsole = new Vconsole();
}

setNativeObject();
